package com.czmh.etc.interpreter.entity.request;

import com.czmh.etc.interpreter.entity.base.EnMessagetype;
import com.czmh.etc.interpreter.entity.base.RequestBody;

/**
 * Created by Huangyk on 2019/6/5.
 */
public class LossRequest extends RequestBody {
    public static int MSG_LEN = RequestBody.BODY_LEN + 98;

    /// <summary>
    /// 申请时间
    /// </summary>
    private String GenTime;
    /// <summary>
    /// 操作类型，1：挂失，2：解挂，3：注销
    /// </summary>
    private byte OptType;
    /// <summary>
    /// 卡类型，22：储值卡，23：记账卡。
    /// </summary>
    private byte CardType;
    private String CardID;
    /// <summary>
    /// 车牌颜色，0：蓝，1：黄，2：黑，3：白。
    /// </summary>
    private byte VLPC;
    /// <summary>
    /// 车牌号
    /// </summary>
    private String VehicleID;
    /// <summary>
    /// 卡余额
    /// </summary>
    private long CardMoney;
    /// <summary>
    /// 启用时间
    /// </summary>
    private String UseTime;
    /// <summary>
    /// 过期时间
    /// </summary>
    private String ExpireTime;
    /// <summary>
    /// 随机数，计算mac用，挂失与解挂直接填写“0”。
    /// </summary>
    private String Random;

    public LossRequest() {
        super(EnMessagetype.LossRequest);
    }

    //region getter && setter
    public String getGenTime() {
        return GenTime;
    }

    public void setGenTime(String genTime) {
        GenTime = genTime;
    }

    public byte getOptType() {
        return OptType;
    }

    public void setOptType(byte optType) {
        OptType = optType;
    }

    public byte getCardType() {
        return CardType;
    }

    public void setCardType(byte cardType) {
        CardType = cardType;
    }

    public String getCardID() {
        return CardID;
    }

    public void setCardID(String cardID) {
        CardID = cardID;
    }

    public byte getVLPC() {
        return VLPC;
    }

    public void setVLPC(byte VLPC) {
        this.VLPC = VLPC;
    }

    public String getVehicleID() {
        return VehicleID;
    }

    public void setVehicleID(String vehicleID) {
        VehicleID = vehicleID;
    }

    public long getCardMoney() {
        return CardMoney;
    }

    public void setCardMoney(long cardMoney) {
        CardMoney = cardMoney;
    }

    public String getUseTime() {
        return UseTime;
    }

    public void setUseTime(String useTime) {
        UseTime = useTime;
    }

    public String getExpireTime() {
        return ExpireTime;
    }

    public void setExpireTime(String expireTime) {
        ExpireTime = expireTime;
    }

    public String getRandom() {
        return Random;
    }

    public void setRandom(String random) {
        Random = random;
    }
    //endregion
}
